package com.hk.kindheartedness.model;

import java.util.Date;

/**
 * @Author：alpha
 * @Create：2022/2/27/13:37
 * @Description：挂号记录
 * @Version：1.0
 */
public class RegistrationLog {

    /**
     * ID 唯一 （默认自增）
     */
    private Integer id;

    /**
     * 患者ID
     */
    private Integer userId;

    /**
     * 预约ID
     */
    private Integer registrationId;

    /**
     * 预约时间
     */
    private Date subscribeTime;

    /**
     * 是否就诊（状态 ，默认 false:0 未就诊）
     */
    private Boolean isSeeADoctor;

    /**
     * 创建时间
     */
    private Date createTime;

    /**
     * 修改时间
     */
    private Date updateTime;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    public Integer getRegistrationId() {
        return registrationId;
    }

    public void setRegistrationId(Integer registrationId) {
        this.registrationId = registrationId;
    }

    public Date getSubscribeTime() {
        return subscribeTime;
    }

    public void setSubscribeTime(Date subscribeTime) {
        this.subscribeTime = subscribeTime;
    }

    public Boolean getSeeADoctor() {
        return isSeeADoctor;
    }

    public void setSeeADoctor(Boolean seeADoctor) {
        isSeeADoctor = seeADoctor;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    public RegistrationLog() {
        super();
    }

    public RegistrationLog(Integer id, Integer userId, Integer registrationId, Date subscribeTime, Boolean isSeeADoctor, Date createTime, Date updateTime) {
        this.id = id;
        this.userId = userId;
        this.registrationId = registrationId;
        this.subscribeTime = subscribeTime;
        this.isSeeADoctor = isSeeADoctor;
        this.createTime = createTime;
        this.updateTime = updateTime;
    }

    @Override
    public String toString() {
        return "RegistrationLog{" +
                "id=" + id +
                ", userId=" + userId +
                ", registrationId=" + registrationId +
                ", subscribeTime=" + subscribeTime +
                ", isSeeADoctor=" + isSeeADoctor +
                ", createTime=" + createTime +
                ", updateTime=" + updateTime +
                '}';
    }
}
